package com.whnk.framework.web.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.whnk.system.domain.Prgm;
import com.whnk.system.service.IEnvironmentService;


@Service("prgm")
public class ProgramService {
	
	@Autowired
	private IEnvironmentService demoService;
	
	public List<Prgm> getProList(){
		
		return demoService.selectProList();
	}
	
	public List<Prgm> getProDate(String prgName){
		
		return demoService.selectByName(prgName);
	}
	
	public List<Prgm> getNameAndDate(String val,String nam){
		return demoService.selectDevName(val, nam);
	}

}
